﻿using Domain;
using Domain.Entities;
using FrameworkCore.Attributes;

namespace AiBLSmartEdu.Module.CreditAnalysis.API.DTOs;

/// <summary>
/// 文档信息
/// </summary>
[Map(typeof(Document))]
public class DocumentOutputModel
{
    /// <summary>
    /// 唯一标识
    /// </summary>
    public long Id { get; set; }

    /// <summary>
    /// 标题
    /// </summary>
    public string? Title { get; set; }

    /// <summary>
    /// 保存路径
    /// </summary>
    public string? Path { get; set; }

    /// <summary>
    /// 创建时间
    /// </summary>
    public virtual DateTime? Created { get; set; }

    /// <summary>
    /// 状态
    /// </summary>
    public JobStatus Status { get; set; }

    /// <summary>
    /// 摘要
    /// </summary>
    public string? Summary { get; set; }
}
